<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>form表单</title>
  </head>
  <body>
    <form action="" method="">
      <!-- 用户名 -->
      <input type="text" name="username" />
      <!-- 用户密码 -->
      <input type="password" name="password" />
      <!-- 提交 -->
      <input type="submit" value="注册" />
    </form>
    <!-- <input
      type="text"
      name="username"
      placeholder="请输入用户名"
      value="jack"
    />
    <input type="number" min="10" max="100" step="10" name="username" />
    <input type="radio" value="male" name="gender" />男
    <input type="radio" value="female" name="gender" />女
    <label> <input type="checkbox" name="hobby" value="eat" />吃饭 </label>
    <input type="checkbox" name="hobby" value="sleep" />睡觉
    <input type="checkbox" name="hobby" value="front-end" />前端 -->
    <!-- <input type="file" />
    <input type="text" />
    <input type="submit" value="提交" />
    <input type="reset" value="重置" />
    <input type="button" value="按钮" /> -->
    <!-- <form action="">
      <select name="" id="">
        <option value="4399">4399小游戏</option>
        <option value="7k7k" selected>7k7k小游戏</option>
      </select>
    </form> -->
    <form action="提交地址" method="提交方式">
      <!--文本框  -->
      <input type="text" value="jack" readonly name="username" />
      <!-- 密码框 -->
      <input type="password" required />
      <!-- 单选框 -->
      <input type="radio" value="male" />男
      <input type="radio" value="female" />女
      <!-- 文件上传框 -->
      <input type="file" />
      <!-- 提交按钮 -->
      <input type="submit" />
    </form>
  </body>
</html>
